render: attach only the methods required for knit_print