Initial model parser implementation.
Fix parser API usage.