Adding parsers to automatic gen code