samples/common.py uses generated classes