Add System.IO.Unsafe here
Add GHC.Weak and Data.IORef here