Using immutable types.