Adding validators and formatters