Implemented NewLocalRef, now using REF_TO_OBJ with weak null check