Refactoring for coding style.