haskell bindings: hide an internal class