Improve readability by adding enum, add AESNI check.