Switch class loading to autoload.