Added `next`.

I needed `next` functionality at least localized to the CAS server. Pretty small change.