Add enum_name! method.