Fixed up examples on inheritance