ReferenceSlot moved into vm package to give it access to package private
methods.