Add Graph classes