Fixed bug where virtual methods would not be parsed properly.