Added flags definitions