Remove another instance of the getMethodDecl hack.