Reference code for the directives workshop