Revert "Changed inherit."

This reverts commit 87253aab04dfdf163383b5c166796d4380c51cd1.