Immutable objects stored as null