Prepared for use with contao 3.1.x AND 3.2.x