Support for auto_item parameter and Contao 3.0 compatibility