This should maybe be in ViewHelper as `closest_parent`.