Change :title to :name
Add Document#slug