Switch basic univariate types to immutable's

If no one has any objections, I will switch over the types changed in this pull request to be immutable types sometime tomorrow.