Allow templates to be strings