Added `externals` option