Extend Membership class from NdexObject instead of ExternalObject.
Removed TermDeserializer.