GraphDisp: composition instead of inheritance