Simplify S3 example