Little bits of python, some functional, others not.