Work on transforming Legs back from LegsDocument.