i think that is good enough. the other option would be a "slugifier" that takes the whole object, to move all logic about that out of the class itself. or we could allow multiple slugpart annotations on one document (and then you need a priority attribute to order if its not top-down in the php file...). and a slugifier that combines multiple variables... imo we should make sure we have nothing here that blocks us from those paths, but we can implement just a simple solution.