Deleted unnecessary variable declarations.