Reduces code complexity.