Functional utilities for python.