Make some DOM members private.

I have not reviewed if this is the complete set of members that can be made
private.