Remove unused API client code