Add a convenience function to the device category.