Removing callback from API