Clean runDeferred. Add some examples.