Add code blocks for examples