More enum helpers.