Minor changes to the RemoteRef Object. Added the Class [] becuase I need it for Stubcompiler.