Deleted unused import and unnecessary lines.