Added a draft example.
Fixed problems with publishing drafts.