Partial commit for all the palette work.