Fix invalid dojodoc for createSubclass. Refs #16505. !strict due to existing invalid code.