Removed deprecated api calls