Refactors for style and clarity.