Modify "action" option methods context to "this" and add "index" argument