Adding public connection-method if case connection type is not in prototype.