Add extensions if an extension option is added.