Refactored "validation.h"

Changed minor formatting.