Added template files for message passing in cliques.