Don't use fmap directly as some older version of base has not defined fmap for either. remove in couple of years.