Added some more generic device functions to fetch a random item by keyword.