Add slugify method