Conversion functions between handlers and handleables