Remove SQL from Devices module.