Fixing compilation bugs.
Fixed bugs in generic method signature parsing.