Add basic dom manipulation to core.