Fixed discovering and setting of attributes from OData representations.