Simplify linearHandles code changes a bit.