Support proc object argument for add_breadcrumb method