Object pointers are now stored instead of references to keep track of class instances.