move some nav methods into model.