Added Get for Device and DeviceContext