Restore output functions