Eliminate unneeded @scope variable