Added our own inherits.
Merge pull request #8 from bjornstar/master

Add inherits.