Removes unused function.