Issue #2337749 by benjy: Fixed no_stub is never used.