Construct attributes.