Fixed some typos in inheritance