[Issue #209] Add `sp-restrict-to-*` functions to enable easy restricting of navigation functions to specific pairs/objects