MediaObject#saveMedia needs refactoring.