Removed some code which didn't belong. Removed handling for number/boolean/date as they don't really serve any role.
Removed some code which didn't belong.
Removed handling for number/boolean/date as they don't really serve any
role.

nickwb/ddom