Add inheritance example.