Add next_step method.