Remove unused scope argument from api.gettarget()