Added BP.getPrev and getNext.