Add bidirectional markers