Refer to example.py instead of duplicating the code.