DRY up rendering paths