-- small refactoring.
-- small refactoring.
add methods:
  hasResource
  setAsset
  getContainer