Updated to meet newest SpamProtector API.