Removed unused imports
Added the slug stuff