Add suppress warning annotation for serialization