Optimize delegate invocation