Cleanup an unused function.