Changing autoload method