Moved to using WTForms for validation.