Validation structure and refactored formatters and validators to interface.