Update to the extend inheritance method