Added field attributes to models, validated models.