Added Category model validations and documentation.