Added new APIs to device management