Removing an unused API method and the impl.