Add Graph and DynGraph instances for lazy