Add dot notation example to the docs