def preprocessing(settings):
    """Check all the settings."""
    replaces = settings.get('replaces', {})
    if not isinstance(replaces, dict):
        raise Exception('You must inform a valid replaces settings !')
    return settings
