Fix typo in python hook.
Fix mumamo warnings.