Removed deprecated API use