Adds documentation for object syntax.