Adds slug and ancestor slugs to the bodyclass