Added enum to DirtyFlags to specify which flags are propagated to children.