Haskell interface: adding class inheritance to export