Modify the doc annotation to allow hiding properties.

Signed-off-by: Robert Xu <robxu9@gmail.com>