Update generate document to more clearly specify the significance of
type