Remove unnecessary text from comment
Move code away from deep freezing everything

* The primitive is a ruby class, and we don't want to just freeze it
  automatically. We can however deep freeze selective attributes we
  know about, as well as "flat" freezing the type themselves.
Add constraints for Hash type
Add TODO note for future extraction