Collection of clean-ups

- removed outdated comments in ANF transform
- added a few comments
- removed some unnecessary imports

Review by @retronym