Added code for extensionapi:import