A bug was fixed in method spec parameters generation. Python classes
were added into behavior blocks of method specs.