mentioning validate method in docs