Add sample inheritance