Fix code examples.

</code> was missing in two occasions.