Add example from reference implementation.