Add compat class for UnsafeDataAccess and remove GHDirectory from the compatibility classes