Fix scopeMethods closure issue