fixed so that method where adding slug is also documented