Remove unused API methods.