Revert "inherits"

This reverts commit eb47151603139de309a0d1b15ebcd291d42e71aa.
Revert "Revert "inherits""

This reverts commit 836689a3dab9caad7d4765804ecb4cbb949a7234.