Moved palette to class parameters