Use proper inheritance.