Added hook dispatchers

Fixed search of subscriptions for trailing '**'