Refactoring for better legibility.
Removing repeated code.