Extending BaseHelper decorator to make render_snippet accessible anywhere.