Make unpublish work.