Fixed bug in method numbering.