Restore missing constructors on CallbackFunction, add NativeFunction.