Fix dependencies for devices module