Basic IO stuff for the circuits.