Add missing setSlug method