Documented and reused request function for shortcuts.
Removed unused imports.