Doing some optization in the syntax plugin.