Removed sugar ref (inlined into Util package).
Expose the `api` to the template via helpers.