Avoid duplicated variable declarations.