adding info about the validate callback being optional