Fix issue #10: slug method on Document becomes getSlug