Github issue #14: allow to discard unwanted messages.