Fix bug 1023623: Add inprogress flag to stubs