Updated based on Quest codes.