If the module is supposed to be consumed by a tool (the Gallery, Shifter, etc) then it shouldn't include the YUI module definition. For example, a polyfill should be conditionally loaded in YUI, so if the source for the polyfill includes the name of the module, it gets in the way of having a module in YUI with the same name and loading the polyfill with a different name when the native feature isn't available.