Adding object inheritance.