Refactoring ZigbeeNetworkManagerSerialImpl.