Remove attribite in code generation
Also test on GHC 7.8