Remove unused code

Don't support initializing through a string
Remove unused imports
Refactor import