Save a few lines of code in the Media class.