Added really simple inheritance.
Self-review.