Better matching of topic url slug for class name