Refactor the extend inheritance method
Rename variable to avoid conflict with yeoman