Switched Main.t to the object manager.