Remove some dependencies in xp-graph, add dg_bridge_messages.