Support for gb.addStyleElement()