Patch Media to match custom service

See the issue at https://drupal.org/node/1942688