Cleaned up the wtforms mess.