Cleanup deprecated functions

I did tests with TYPO3 version 6.1.15. 
A test with version 6.2.x would be great!