patch classes for autoloader