Added support for extension preferences