Adds Media object as a component.