Update cosetClasses code style