Creates immutable types