Fixes dependencies from the old TopicRegistr.