Fixed bug in extensionapi:configure