Added hasAnyWithinOi, hasAny, hasNext, hasPrev