Update the bridge code to use the refactored clipper functions.