Conditional replaced with match expression.