Refactore for Contao 3 and composer.