Improve status codes. Fix some typos.