Update code to work with ghc 7.4