Added feature to optionally check switch exhaustiveness when using enums