refactor ModuleSpec
traceDeprecation
Buffer global (stub)