Renamed error_codes to error_code.