Added slug validation.