More wtforms compat.