Compatibility with newest Contao versions