Bring back _class names, since code minification breaks reliance on constructor.name.

Closes #248.