Added documentation about the Generator type.