Added a validators for dtos