Correct validate method.