Improved validation of model objects through REST API.