Factored out devices into separate collection.