master: adding string support to addStyle