Removes code duplication (code climate)