Remove the unused function