Improved the ability to enable multi level extends in parse.

A small enhancement to enable multi level extends in parse as detailed in issue #34