Remove unused imports
Fix broken doc links

I renamed some options in e32c2b2 and forgot to update the
FormattingWriter documentation