Refactoring autoloading in composer.json.