Added check for guild.