Refactor.
Refactor, and fix a indent.