Remove useless params in autoload