Added supporting of gags with interaction.