Changes to haskell interface requested by Greg
automatic casadibot merge