Some styles-related classes were ported to C++