Move validations generation to another file.
Split validator files.