Updated and upgraded for base 4.7 and GHC 7.8.