remove decorator from platforms attribute in PlatformDeviceExtension, causes circular link. Fill this attribute in get_platform_device_extension