Additional updates to the shape inheritance example.