Added graph support.