Add attributes to model