maybe `ensureEarlyDef`? it doesn't really extract anything, just checks the shape of the tree.