Changed label and selector to be type based, where type can be either string or bitmapdata