Graph support and import of references added.