Rough cut of the search forward/backward infrastructure.