Smart containers are disclosed (FIG. 1, 100, 102, 104, 106, 108). A definition is received of a logical structure configured to manage associated content. A policy or operation specified by the definition is applied to an item of content associated with an instance of the logical structure.