Added dispatcher and a fork dispatch.