Add python2 boilerplate