Tweaked Netherstuffs version.