Wrap enum values in arrayref

This commit quiets the warning: "Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref."