Configuring validators from Spring.