Implemented EntityWithPluginBagsInterface for Flag.