Inject API into parsers

Change-Id: I61ad58f8ecc83b9223fcb4becdc58e1e396945e7
Merge "Inject API into parsers"