Comments added for Device, QM and Resource