Move string-length to non-primitive