Handle dynamically setting embedeed resource name for collections.