Provide the default index name rather than the service itself. Additionally, inject references to each index by name instead of the definitions.