a semblance of GHC HEAD support