Added support for spam-filter training