Code sample updated.