slugify classes, fixes #4