Added REST calls to Device