Inject 'prev', 'next' into caller scope