Messy, before WTForms