reference BaseClass, not BaseClassDef.  BaseClassDef was the 1.11 name