Improved specs and docs for ImmediateExecutor and PerThreadExecutor.