Make compatible with GHC 6.