Update enum usage to avoid Moose's 'Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref' warning