Ensure new line at EOF. Removed unnecessary templates.