Added local variable declaration.