Add an index to make the user's life easier, and remove a bunch of unused imports