added attributeValueType back, because it is needed.