Use `getProperty` instead of index syntax to prevent potential bugs.

Examples:

* `/// <constructor ... />
* `/// <watch ... />