Added instance to onExecuteSync