Revert "inherits"

This reverts commit 90e50f23b1371678f275616fc9881765a8024a89.