removed some deprecated functions (4.0)