Made Kwic instance variables private and provided getters instead.