Instead of extending the basic Directive class, import and extend AsyncDirective.

The AsyncDirective base class adds a few new methods useful for directives that need to do asynchronous rendering:

We will make use of these methods later in the tutorial.