Updated the documentation for validator