Forgot to add a line in the constructor of WirelessChannel.