Use more flexible flag system to define what is serialized