Reduced code duplication.
Simplification.