Adds support for g-class and g-classprepend