Make examples compatible with latest Doc changes.