Add anti-spam and ant-repeat functions in.