Move cursor init for sqlite data objects to separate method.