I think you can in-line these methods in the `PrevAnnotationAction` and `NextAnnotationAction` classes, unless you think these methods on Spark will be generally useful.