Use the `inherits` module.
Merge pull request #1 from terinjokes/inherits

Use the `inherits` module.