Works with Typo3 6.0, breaks in 6.1