Added a registry class, implemented listener logic where a service's events are added only for the scope of their indexing operation.