added template dispatchers