Cleaning up the controllers.

  - Removed unneeded imports.
  - Removed variables that were set and never used.