Fixed inheritance_pattern example error