Fix the letest Moose(2.1403) generates a warning about enum.
It says, Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref.