Improvements to DOM externs.