Extract conditional invocation