Clarify explanation of resources containment in classes.

The documentation explaining the containment behaviour of a resource dependent on a class is unclear. It reads as though the dependent resource will be executed after each resource declared in the class has been fulfilled, which is incorrect.