Corrected argument mismatch in add_style_class method

Fixed the bug in add_style_class and spec'd it.