add token class definition.