Adding an example and documenting the offset field.