no addWrite, but setWrite , addRead but setRead, default should be null ...

no addWrite but setWrite , addRead but setRead, default should be null else a closure need to be send for default connection in ConnectionLocator.