Adding palette support