Added navigation state to the API.