Cleaning up comments and log messages.