Remove unused function calls