Correctly create wtfform validator sub-class