Allow documentation to support recursive shapes