It's done in the subroutine SLUtils.ExtractTags(MainForm.RootPane). I was going to use the style field, but realized that I may want to set colours for some objects, then I realized that a dummy StyleClass won't do any harm as you have to specifically refer to it for it to do anything.