Adds threads, devices and source maps