Fixed some code style and comments.