Fixes to DOM things.