initial changes, in keeping FlagInterface in sync with the Flag entity.