Device API is now included in this sample.