Add validators and remove warning.