Here I workaround a limitation of the F# compiler where `typeof<'a>` doesn't seem to compile when `'a` is a module.