Remove unused function to eliminate warning