Updated slugify routine.