Add compatibility for TYPO3 6.1