Extend TypeSerializer interface to handle non-mutable object deserialization more efficiently.