Use methods introduced in Contao 3.3