Updated getDevice to normal stub.