Move some stuff into the general renderer code instead of the specific renderer code.