Dangling where
Further parsers replacement.
Unused imports, vars, and a missing export found by -Wall.