Add a shorthand notation for classes.