Change the way classes are stored. They are now ordered by time.