Fixes the smoke runtime.

Fixes #5780