Removes some unused functions from API