Removing unneeded APIs