Contao 3.1.x backward compatibility