Add some minimal functionality to work with flowgraphs