WYCS: simplified automaton generation to remove the unused namespace environment.