adding WTForms support