Some fixes for the python egg.