Removes an unused function