Completed code-examples.