add #attributes to each model