Removes hardcoded class name from autoload method.