Changed pattern for defining dispatchers.