Added spoiler mode protection.