Moved workflow instantiation to dispatch.