Remove unneeded code from anti-spam module.