Added do_slug function to class Str