Working on GHC 7.4.2 compatibility