Fix imports and move PigLexer.