Fixes problem with getting ServiceHandle for Provider, IterableProvider
or Topic