Fix notices and typos.