Maybe do a validate method that takes a typeSetting instead.