Add attributes with datatype generation