Started working on the template instantiation graph reducer.
Started working on the template instantiation graph reducer.