Implementation of symbol graph and associated changes.