Added compatibility to Contao 2.11x and Conato 3.0.x