Fixed issue with AnonymousMethodAsParameter.