Add missing imports

Adds missing imports for `generic` and `url`