Adding specification for category endpoints.