Removed some imports, and some lines of code that were unused.