We probably need to freeze the hashObj. Since we add the hashObj when we freeze an object we don't want to add a mutable object onto a frozen object. Maybe that can be done in freeze below though.