First draft of writing up the trampolines in Python.