Isn't this done automatically by Engine.Run()?