Add promises and generators examples.