Diagram classes