Use newly added next() and prior() utility functions.