Class name generator bugfix.