Normalize callback signature