Move partials functionality to _.template.partial