Create dispatcher class.