EnumSet instead of multiple checks