Removed the unused variables or methods