Named validate function [skip ci].