Expose a safe method on template service for helpers.