No need to deserialize to check for serializability.