Did a bunch of adaptive knot stuff.