Remove stupid stuff and add comments.