Bake out some structs, add some funs to graph as an in-memory variant