flowcharts: Add base classes