Make autoloader look for classes in type definitions