Fixed haddock typo
Added warnings to 'words' and 'lines'