Document syntax improvements