Fix event passing, support getting number of connections on a sigle port, create Merge component.