Fixing code samples and typos.