Fix/clean up media routes.