Haskell interface: add IOScheme