Excluding new deprecated methods in DBCursor class