Refactored the Snippets::Template file.