Fix two level extends requires
Merge pull request #8 from radev/master

Fix two level extends requires