Removed _classCache which seems to be unneeded.