get rid of extensions.add deprecation warning