Fixed mapping of status codes.