add Model.attributes and Model.schema