added possibility to overwrite the SinkMode via a user supplied property, when used as a provider