Refactor to consume first class flag object
PaletteService is redundant