Removed deprecated functions use.