Allow slugs to be optional.
Add documentation