Merge pull request #352 from ddobrev/master

 Fixed warnings about hidden methods in generated code
Restored ParserOptions as a ref type because it is inherited.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>