Added macro for getproperty (setter is private). Preserve documentation