add python functions and classes.