I think this if/else branch is replaced with the switch above now.