Added multiple defenses support