Added next/prev semantics structure.