Reduce code complexity.