used TypeError instead of DeprecationWarning on obsolete args; default arg is obsolete for Field