Adds the concepts of flags to the models