Make graph.Register take in io.Reader Upstream-commit: 1544c5edb6fc796918a0bc2968a48df4e23a9fdb Component: engine