Adding graph stuff.