Changed to ```EnumSet``` for consistency although this should not have any compile- or run-time difference.