Address attributes like max_size should not be serialized.