Add debounce(), delay(), and throttle().
Removed unused imports and variables.