Add helper to get the render array