Added basic Contao 3 compatibility