Reduce cyclomantic complexity.