use QualifiedMethod instead of ClassMethod
publish now replaces ClassInstance with UnknownObject
replaced ExternalObject with UnkownObject
fixed tests
changed parameter in getHeap from boolean to Type
use UnknownObject instead of External for arguments