Add object type field to the documentation.