Support for AMD/CJS