Fixed bug where method names would 'leak' into parameters