Fix package dependency on DynamicInvoke