Added require() to examples