It would be great if the async options could be implemented as well so the use of `useFactory` in the module configuration is possible.