Minor refactorings on DllRoot and DllHandler with the .NET Plugin.