Added validations to the solution models