Remove deprecated functions (S2.4+)

Remove deprecated functions according to https://github.com/symphonycms/symphony-2/wiki/Migration-Guide-to-2.4-for-Developers#functions