Support for AMD and CommonJS modules