Make SCPI functions device independent, with separate serial backend.