Added interface for occ & FMIndex class