Simplify doctrine media