Added str_slug helper function.