Add a Content.to_proc method