Update comments and code style.