Fixed references and typos.