Removed invalid local declarations.