Add path absorb function as per issue #132.