Removed a whole bunch of the worst coding I've ever seen in my life. It's like the people who originally programmed this didn't understand Polymorphism - one of the most basic concepts in Object Oriented programming.