Removed unused imports.
Add comments for my own reference. I have a habit of forgetting new things I've learned if I don't use them much afterwords.