Remove unused function from client