Fixed Issue #19 - multiple levels of inheritance