Fix errors in React externs.