Use uses_executor when constructing the nested type in executor_wrapper.