The replacement of -> by . works for simple objects, but not for objects that are part of a struct. I've changed the manual description accordingly.