assembly.GetTypes(0 replaced by safe type load