Curried versions of Python functions.