Compatibility code for TYPO3 CMS 6.0