Need help with GHC API and GHC internals