A method performed by a protocol adaptor system for handling a device to communicate with a generic application in a communications network where the generic application uses a generic protocol, the method being characterized in that it comprises: - detecting that the device uses a variant of a specific protocol of a specific protocol unit in the protocol adaptor system and that the variant is unsupported by the specific protocol unit, - determining that a new fragment is required for communication adaptation of the specific protocol, wherein the new fragment is one of: a piece of computer program code in script or binary format, an extension to an already excising protocol, a service schema for mapping of service extensions, a table mapping different service features, and a text string, - in response to determining that the new fragment is required for the communication adaptation of the specific protocol, determining which fragment is required for the communication adaptation of the specific protocol, - in response to determining a particular fragment required for the communication adaptation of the specific protocol, retrieving the particular fragment needed for the communication adaptation of the specific protocol to the variant, and - installing the particular fragment in the specific protocol unit, thereby enabling the communication between the generic application and the device, wherein when the protocol adaptor system fails to determine which fragment is required for the communication adaptation of the specific protocol, the method further comprises: transmitting a request to a protocol provider unit in the protocol adaptor system for determining the particular fragment required to enable the communication between the generic application and the device, wherein the request comprises device information, and receiving the particular fragment from the protocol provider unit for installation of the particular fragment in the specific protocol unit. - detecting that the device uses a variant of a specific protocol of a specific protocol unit in the protocol adaptor system and that the variant is unsupported by the specific protocol unit, - determining that a new fragment is required for communication adaptation of the specific protocol, wherein the new fragment is one of: a piece of computer program code in script or binary format, an extension to an already excising protocol, a service schema for mapping of service extensions, a table mapping different service features, and a text string, - in response to determining that the new fragment is required for the communication adaptation of the specific protocol, determining which fragment is required for the communication adaptation of the specific protocol, - in response to determining a particular fragment required for the communication adaptation of the specific protocol, retrieving the particular fragment needed for the communication adaptation of the specific protocol to the variant, and - installing the particular fragment in the specific protocol unit, thereby enabling the communication between the generic application and the device, wherein when the protocol adaptor system fails to determine which fragment is required for the communication adaptation of the specific protocol, the method further comprises: transmitting a request to a protocol provider unit in the protocol adaptor system for determining the particular fragment required to enable the communication between the generic application and the device, wherein the request comprises device information, and receiving the particular fragment from the protocol provider unit for installation of the particular fragment in the specific protocol unit. transmitting a request to a protocol provider unit in the protocol adaptor system for determining the particular fragment required to enable the communication between the generic application and the device, wherein the request comprises device information, and receiving the particular fragment from the protocol provider unit for installation of the particular fragment in the specific protocol unit.