Fix broken Python method names in a simple way.