Cleanup unused function.