Replaced Word<I> with Word<? extends I> in parameters