Refactor to appease linter.