And use wherever custom widgets were being created. Reduces duplicate code and allows specialised handling for raster band display/selection to be centralized.