Reformat the class MessageFilter