Freeze values in objects