Added Graph interface.