Changed all old-style to new-style classes for easier method overloading from derived classes.