Why is this a helper and not just data passed to the template?