Defining Interfaces and Preprocessing or Postprocessing Devices