Introduced function syntax for validators.