Added Graph representation classes.