There's a bit of an issue here; callable is notably missing in Python 3 until (I believe) 3.2. We'll need to implement one of the alternatives suggested along these lines: http://stackoverflow.com/questions/4383414/alternative-to-callable-for-use-in-python-3