Correcting typos and removing references not used.