Removed extraneous comma in method signature generation.