Add code examples to the documentation