Should we just merge this with `createLocalEnvironment`, i.e. just overload the method with the extra parameter? I personally never liked the name local distributed executor, but maybe that's just me. ;-)