Using an enum for NApi language.