Added explicit dependencies and an anchor class

The dependencies tie the resources together.  The anchor class ties the
resources together with the class itself, ensuring that it evaluates
when the class itself is evaluated in the parent scope.