Rewrite comments and documentation.