Switched from generic __autoload to specifying an autoload function using spl_register_autoload (helps with compatibility with third party software like MachForm that would call spl_register_autoload and stop our __autoload from functioning).