Create automatic casting.py