Fixing a crash caused by an autorelease pool.
We want to make sure we don't autorelease return values for NSInvocations.