Refactor dispatchers into processors