Add inline documentation for validations