Add support for CommonJS-like loaders