Fixes type hint in constructor and makes cache keys compatible with TYPO3 cache idendifiers