Factor out render types