Make inserting handler chains more convenient.