Added diagrams for documentation.