Added inheritance and type conversion examples.