Map<String, Converter> customConverters,
List defaultExcludedProperties,
Map defaultFormats) {
// Code copied from Compass, since we don't want to initialise/build
// a Compass instance just to get the converter lookup.
ConverterLookup converterLookup = new DefaultConverterLookup();
converterLookup.configure(configuration.getSettings().copy());
for (String converterName : customConverters.keySet()) {
converterLookup.registerConverter(converterName, customConverters.get(converterName));
}
DefaultCompassConverterLookupHelper converterLookupHelper = new DefaultCompassConverterLookupHelper();
converterLookupHelper.setConverterLookup(converterLookup);