Remove unused validate method.