Convert prev to an accessor.