Used by output handlers to calculate asset paths in conjunction with the `Media` class.