utility methods to easily add resources to media object