Improve some code style.