Remove dead code and bad comments.