Feels like this should use `slug` rather than `entity.slug`