Removing deprecated API calls from the UI