Close #1088 As to how I implemented this, I didn't want to introduce a private method because that'll be also visible in user templates. I didn't bother using refinements for this either just yet.