Deprecate setConnectionId and instead of setAsString call super.setId method to avoid duplication