Fixing shortcoming in haskell export