Add implementations for SubmitSpam and SubmitHam