Added directionId to IpcStop and ApiStop so it can be made available in
the API.