The service-specific implementation header needs to include only the raw enums/flags headers; while the source needs to include the enum/flags types headers.