Added message_filter primitive.

  This will be used for issue #33.