Inject custom connection classes