Removign hard coded class hash table and instead storing them as globals.