Some code and some examples.