Updated dclass to include Relationships.