Add headers to console.c functions