Add schema constructor.
Add SubGraph.