Added documentation regarding the validate method