Clean up validation.py and associated documentation.