nextDoc implemented.