Refactoring composer dependencies