Update class definitions.