Nuget stuff ripped from Nancy FX