Added template output filter