Adding ReferenceType class.