Removed deprecated code.
Compilation fix.