added ability to eject and remove from an InstanceRef. Closes GH-151