Prep for a Python (or maybe Ruby) implementation.