added "styles" support to the options