Register the type on System, not the TypeDef itself.