Add CommonJS functionality