Remove unused function.