Corrections in ReferenceType class.