Factorize ValidateMethods callback