Refactoring for clarity.