Pass the Map<String, String> of prefixes instead of prefix manager.