Added documentation of type field.