Changing this into if -> else if -> else if > else is NFC, because the values of FnType are mutually exclusive.