Added selector function extension & pluginExtendsInstance.