Palette fixed, added templates.