Workaround busted type inference in ILSpy. UGH.