Make the extension compatible with Contao 3.0