Adds documentation for object syntax.

Updates the docs regarding the object syntax.
I'm not really liking these references to other parts of the documentation. I'd rather it list the details out multiple times.