add some convenience methods to cursors