Adding createStubInstance.