Add validation documentation.