Added code example to documentation on site