Fix binding to parser API

Change-Id: I370c2036dbb003415eee7491784bd0a8cbe01b24