Add slug provider

Closes #308