Added flags attributes.