Fixed missing type property and a few typos.