Added a require statement to an example

Not really necessary, a very quick correction to make the example cleaner.