add spec to call plugin instance