Updated to work with python-cMonkey.