Update the definition for words()