Using template.Must to fix multiple return issue.