slot the enum flags class as well