Refactors word.all.