Add support for AMD loaders.