Additional error codes and various typos.