Fix method_name definition