Added object inheritance