Improve documentation of components code.
Bring back change event to Palette.