@Override
 public void removeConnection(O connection) {
   for (int i = 0; i < this.connections.length; i++) {
     if (this.connections[i] == connection) {
       this.connections[i] = null;
       connection.removeConnection(this);
     }
   }
   this.markDirty();
 }