Migrating some output functions