track ghc extensions in declarations, close #6