Revert "-copypasted inherit 2"

This reverts commit 03fd85254ad9d4d563fd26447c33e374ba9c2f56.
Revert "trying to get rid of copypasted inherit"

This reverts commit 3822732e5bd81ac0a26f409c304d46320981426d.