Updated examples to reflect latest changes.