REFACTOR: Code formatting and comments.