A simple extensible spam detector class