Support for shared and separate instance invocation